import request from '@/utils/request'

// 查询专业业绩录入列表
export function listProfessionaldevelopmentrecords(query) {
  return request({
    url: '/system/professionaldevelopmentrecords/list',
    method: 'get',
    params: query
  })
}

// 查询专业业绩录入详细
export function getProfessionaldevelopmentrecords(id) {
  return request({
    url: '/system/professionaldevelopmentrecords/' + id,
    method: 'get'
  })
}

// 新增专业业绩录入
export function addProfessionaldevelopmentrecords(data) {
  return request({
    url: '/system/professionaldevelopmentrecords',
    method: 'post',
    data: data
  })
}

// 修改专业业绩录入
export function updateProfessionaldevelopmentrecords(data) {
  return request({
    url: '/system/professionaldevelopmentrecords',
    method: 'put',
    data: data
  })
}

// 删除专业业绩录入
export function delProfessionaldevelopmentrecords(id) {
  return request({
    url: '/system/professionaldevelopmentrecords/' + id,
    method: 'delete'
  })
}
